package com.holic.spring.custom.annotation;

import org.springframework.core.annotation.AliasFor;

import java.lang.annotation.*;

/**
 * @ClassName Argument
 * @Description
 * @Author Neil
 * @Date 2024/11/14 13:21
 * @Version V1.0
 **/
@Target({ElementType.PARAMETER})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface Arguments {

    @AliasFor("value")
    String field() default "";

    @AliasFor("field")
    String value() default "";

}
